﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DataLayerUnity;

namespace DataLayerUnity
{
  // NOTE: If you change the class name "Service1" here, you must also update the reference to "Service1" in Web.config and in the associated .svc file.
  public class Service1 : IGuysAndGals
  {
    public string GetData(string applicationName)
    {
      ServiceProvider provider = new ServiceProvider();
      return provider.GetData(applicationName);
    }

    public ApplicationConfig WriteConfig(string applicationName)
    {
      ServiceProvider provider = new ServiceProvider();
      return provider.WriteConfig(applicationName);
    }
  }
}
